package com.hthy.futures.ui.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Gravity;

import com.hthy.futures.R;

 /**
   *
   * Author:  Mr.bingley
   * Version:
   * Date:  2017/4/28
   */

public class KActivity extends Activity{


     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         //////设置为true点击区域外消失
         setFinishOnTouchOutside(true);
         getWindow().setGravity(Gravity.BOTTOM);
         setContentView(R.layout.frg_fund);
     }

     @Override
     public void startActivity(Intent intent) {
         super.startActivity(intent);
        // overridePendingTransition(R.anim.dialog_enter, R.anim.dialog_exit);
     }

     @Override
     public void finish() {
         super.finish();
       //  overridePendingTransition(R.anim.slide_right_in, R.anim.slide_right_out);
     }
 }
